package com.wang.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wang.entity.Announcement;

import java.time.LocalDateTime;
import java.util.List;

/**
* @author 33115
* @description 针对表【announcement】的数据库操作Service
* @createDate 2024-06-17 11:12:44
*/
public interface AnnouncementService extends IService<Announcement> {
    void addAnnouncement(Announcement announcement);
    List<Announcement> getAnnouncement(String title, LocalDateTime startDate, LocalDateTime endDate);
    void updateAnnouncement(Announcement announcement);
    void deleteAnnouncement(Integer announcementId);
}
